﻿@page
@using Volo.Abp.AspNetCore.Mvc.UI.Theming;
@inherits Rechargeable.Web.Pages.RechargeablePage
@inject IThemeManager ThemeManager
@model Rechargeable.Web.Pages.IndexModel
@{
    Layout = ThemeManager.CurrentTheme.GetAccountLayout();
}
@section styles {
    <abp-style-bundle>
        <abp-style src="/Pages/Index.css" />
    </abp-style-bundle>
}
@section scripts {
    <abp-script-bundle>
        <abp-script src="/Pages/Index.js" />
    </abp-script-bundle>
}
<div class="jumbotron text-center">
    <h1>@L["Welcome"]</h1>
    <div class="row">
        <div class="col-md-6 mx-auto">
            <p>@L["LongWelcomeMessage"]</p>
            <hr class="my-4" />
        </div>
    </div>
    @*<a href="https://abp.io?ref=tmpl" target="_blank" class="btn btn-primary px-4">abp.io</a>*@
    @if (!CurrentUser.IsAuthenticated)
    {
        <a abp-button="Primary" href="/Account/Login" class="px-4"><i class="fa fa-sign-in"></i> @L["Login"]</a>
        <a abp-button="Primary" href="/Account/Register" class="px-4">@L["Register"]</a>
    }
    <div style="display:block;text-align:center; position:absolute;bottom:0;width:100%; left:0;">
        <span style="text-align:center;width:100%">
            Copyright © 晓幽 版权所有 <a href="http://beian.miit.gov.cn/" target="_blank">苏ICP备19070176号</a>
        </span>
    </div>
</div>